56. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:08:40 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

56.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/code/Smartwave/Dailydeals/Model/Dailydeal/SourceSwDiscountType.php2018-03-14 03:57:02 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/code/Smartwave/Dailydeals/Model/Dailydeal/SourceSwDiscountType.php2018-03-14 03:57:02 +0000

56.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged164
Changed00
Inserted00
Removed00

56.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

56.4 Active regular expressions

No regular expressions were active.

56.5 Comparison detail

1 <?php 1 <?php
2 namespace Smartwave\Dailydeals\Model\Dailydeal\Source; 2 namespace Smartwave\Dailydeals\Model\Dailydeal\Source;
3  3 
4 class SwDiscountType implements \Magento\Framework\Option\ArrayInterface 4 class SwDiscountType implements \Magento\Framework\Option\ArrayInterface
5 { 5 {
6     const FIXED = 1; 6     const FIXED = 1;
7     const PERCENTAGE = 2; 7     const PERCENTAGE = 2;
8  8 
9  9 
10     /** 10     /**
11      * to option array 11      * to option array
12      * 12      *
13      * @return array 13      * @return array
14      */ 14      */
15     public function toOptionArray() 15     public function toOptionArray()
16     { 16     {
17         $options = [ 17         $options = [
18             [ 'value'=>'', 18             [ 'value'=>'',
19               'label'=>__('Select Options') 19               'label'=>__('Select Options')
20             ], 20             ],
21             [ 21             [
22                 'value' => self::FIXED, 22                 'value' => self::FIXED,
23                 'label' => __('Fixed') 23                 'label' => __('Fixed')
24             ], 24             ],
25             [ 25             [
26                 'value' => self::PERCENTAGE, 26                 'value' => self::PERCENTAGE,
27                 'label' => __('Percentage') 27                 'label' => __('Percentage')
28             ], 28             ],
29         ]; 29         ];
30         return $options; 30         return $options;
31     } 31     }
32 } 32 }